package com.copm.demonstrationsystem.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author chuyunfei
 * @date: 2018/5/16
 * @description: 服务器配置
 */

@Configuration
public class SystemConfig {

    @Value("${SystemConfig.serverIp}")
    private String serverIp;

    @Value("${SystemConfig.serverPort}")
    private String serverPort;

    @Value("${SystemConfig.applicationName}")
    private String applicationName;

    public SystemConfig(){
    }

    public String getServerIp(){
        return serverIp;
    }

    public void setServerIp(String serverIp){
        this.serverIp = serverIp;
    }

    public String getServerPort(){
        return serverPort;
    }

    public void setServerPort(String serverPort){
        this.serverPort = serverPort;
    }

    public String getApplicationName(){
        return applicationName;
    }

    public void setApplicationName(String applicationName){
        this.applicationName = applicationName;
    }
}
